package com.ruoyi.classai.domain;

    import java.util.Date;
    import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.annotation.Excel;
import lombok.Data;
import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

    import javax.validation.constraints.NotBlank;
    import java.io.Serializable;

/**
 * 学校信息对象 ewc_school
 *
 * @author lcj
 * @date 2025-05-08
 */
@Data
@TableName("ewc_school")
@Schema(description="学校信息对象ewc_school")
public class EwcSchool implements Serializable{

    private static final long serialVersionUID = 1L;


    /** 学校唯一标识 */
    @Schema(description  = "学校唯一标识")
    private String id;

    /** 学校名称 */
    @Excel(name = "学校名称")
    @NotBlank(message = "学校名称不能为空")
    @Schema(description  = "学校名称")
    private String name;

    /** 省市 */
    @Excel(name = "省市")
    @Schema(description  = "省市")
    private String city;

    /** 市区 */
    @Excel(name = "市区")
    @Schema(description  = "市区")
    private String area;

    /** 学校地址 */
    @Excel(name = "学校地址")
    @Schema(description  = "学校地址")
    private String address;

    /** 邮政编码 */
    @Excel(name = "邮政编码")
    @Schema(description  = "邮政编码")
    private String postalCode;

    /** 学校类型 */
    @Excel(name = "学校类型")
    @Schema(description  = "学校类型")
    private Integer schoolType;

    /** 成立日期 */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @Excel(name = "成立日期", width = 30, dateFormat = "yyyy-MM-dd")
    @Schema(description  = "成立日期")
    private Date establishedDate;

    /** 学校简介 */
    @Excel(name = "学校简介")
    @Schema(description  = "学校简介")
    private String description;

    /** 校徽图片 */
    @Excel(name = "校徽图片")
    @Schema(description  = "校徽图片")
    private String logoPath;
    /** 创建时间 */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建时间")
    private Date createTime;

    /** 更新时间 */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新时间")
    private Date updateTime;


    /** 状态 */
    @Excel(name = "状态")
    @Schema(description  = "状态")
    private Integer status;

    /** 联系人 */
    @Excel(name = "联系人")
    @Schema(description  = "联系人")
    private String contact;

    /** 联系电话 */
    @Excel(name = "联系电话")
    @Schema(description  = "联系电话")
    private String contactMobile;

    /** 邮箱 */
    @Excel(name = "邮箱")
    @Schema(description  = "邮箱")
    private String email;

    /** 附件 */
    @Excel(name = "附件")
    @Schema(description  = "附件")
    private String attachment;



}
